﻿using KinonekoSoftware.Foundation;
using KinonekoSoftware.Foundation.UI.ViewModels;

namespace KinonekoSoftware.Foundation.UI.Core
{
    public interface IViewService
    {
        bool CanGoBack();
        bool CanGoForward();
        void GoBack();
        void GoForward();
        void GoTo(IPageRoot vm);
        void GoTo(IPageRoot vm, IPageContext context);
        Task Close(IPageRoot      vm);
    }
}